﻿<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
		
		<title>Befragungssystem</title>
				
		<link href="css/my_layout.css" rel="stylesheet" type="text/css" />
		<!--[if lte IE 7]>
		<link href="css/patches/patch_my_layout.css" rel="stylesheet" type="text/css" />
		<![endif]-->
        
		<script type="text/javascript" src="js/jquery-1.5.min.js"></script>
		<script type="text/javascript" src="js/jquery-ui-1.8.9.custom.min.js"></script>
        
        <script type="text/javascript" src="js/mustache.js-0.3.0/mustache.js"></script>
        <script type="text/javascript" src="js/ICanHaz.js-0.9/ICanHaz.js"></script>
                
        <script type="text/javascript" src="js/sammy/sammy.js"></script>
        
        <script type="text/javascript" src="js/UserDataModel.js"></script>
        <script type="text/javascript" src="js/UserDataView.js"></script>
        <script type="text/javascript" src="js/userDataApp.js"></script>
        
        <!-- Templates for ICanHaz.js -->
        <script id="userData" type="text/html">
            <form class="yform columnar" action="#/" method="post">
                <div class="type-text">
                    <label for="firstName">Vorname</label>
                    <input id="firstName" name="firstName" value="{{firstName}}"/>
                </div>
                <div class="type-text">
                    <label for="lastName">Nachname</label>
                    <input id="lastName" name="lastName" value="{{lastName}}"/>
                </div>
                <div class="type-text">
                    <label for="street">Straße</label>
                    <input id="street" name="street" value="{{street}}"/>
                </div>
                <div class="type-text">
                    <label for="number">Hausnummer</label>
                    <input id="number" name="number" value="{{number}}"/>
                </div>
                <div class="type-text">
                    <label for="zip">PLZ</label>
                    <input id="zip" name="zip" value="{{zip}}"/>
                </div>
                <div class="type-text">
                    <label for="city">Stadt</label>
                    <input id="city" name="city" value="{{city}}"/>
                </div>
                <div class="type-text">
                    <label for="email">Emailadresse</label>
                    <input id="email" name="email" value="{{email}}"/>
                </div>
				<hr/>
                <div class="type-text">
                    <label for="username">Accountname</label>
                    <input id="username" name="username" value="{{username}}"/>
                </div>
                <div class="type-text">
                    <label for="password">aktuelles Passwort</label>
                    <input id="password" name="password" value="" type="password"/>
                </div>
                <div class="type-text">
                    <label for="newPassword1">neues Passwort</label>
                    <input id="newPassword1" name="newPassword1" value="" type="password"/>
                </div>
                <div class="type-text">
                    <label for="newPassword2">Wiederholung des neues Passworts</label>
                    <input id="newPassword2" name="newPassword2" value="" type="password"/>
                </div>
                <input id="userDataSubmit" type="submit" value="Speichern"/><span id='status' style='margin-left:1em;'></span>
            </form>
		</script>
	</head>
	
	<body class="ui-widget">
		<div class="page_margins">		
			<div class="page">
				<div id="header">
					<h1 class="pageTitle">
						Befragungssystem
					</h1>
                    <h3><strong><a href="userData.php" class="menuItem activeMenuItem">Eigene Daten</a></strong>
                        <a href="surveys.php" class="menuItem">Befragungen</a>
                        <a href="questionnaires.php" class="menuItem">Fragebögen</a>
                        <a href="index.php?method=logout" class="menuItem">Logout</a>
                    </h3>
				</div>
                <div id="content" class="shadowed">
                </div>
		  	</div>
		</div>
	</body>
</html>
